package org.jeecg.modules.online.graphreport.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.online.graphreport.entity.OnlGraphreportParams;

import java.util.List;

/**
 * @Description: onl_graphreport_params
 * @Author: jeecg-boot
 * @Date: 2021-04-08
 * @Version: V1.0
 */
public interface OnlGraphreportParamsMapper extends BaseMapper<OnlGraphreportParams> {

    /**
     * 根据父id查询子表
     *
     * @param mainId
     * @return
     */
    List<OnlGraphreportParams> selectByMainId(@Param("mainId") String mainId);

    /**
     * 根据父id删除子表
     *
     * @param mainId
     * @return
     */
    boolean deleteByMainId(@Param("mainId") String mainId);

}
